import {
	fetch
} from 'util/request'



export const GetHomeList = param => fetch('fp/bannerlist', param) // 首页广告图


export const GetGoodsHomeList = param => fetch('fp/goodslist', param) // 首页商品


export const GetShopInfo = param => fetch('fp/getshopbyid', param) // 获取门店信息


export const GetUserInfo = param => fetch('sys/getuser', param) // 获取用户信息

export const GetGoodslist = param => fetch('vip/goodslist', param) //特权商品

export const GetPointGoodslist = param => fetch('point/goodslist', param) //礼包商品

export const GetBucketToken = param => fetch('pub/getbuckettoken', param) //七牛上传token

export const GetUpHeadimg=param => fetch('sys/upheadimg', param) //更新头像

export const GetUpNickname=param => fetch('sys/upnickname', param) //更新昵称

export const GetRecommendUser=param => fetch('sys/getpreuser', param) //获取推荐人信息

export const GetUpheadNick=param => fetch('sys/upheadnick', param) //更新昵称头像


export const GetUpMobile=param => fetch('sys/upmobile', param) //更新绑定手机号


export const GetGoodsbyInfo=param => fetch('goods/getgoodsbyid', param) //商品详情


export const GetMyAddDefault=param => fetch('address/getdefault', param) //我的收货地址


export const GetMyAddressList=param => fetch('address/list', param) //我的地址


export const AddMyAddress=param => fetch('address/add', param) //地址添加


export const DelMyAddress=param => fetch('address/del', param) //收货地址删除


export const EditMyAddress=param => fetch('address/edit', param) //收货地址修改


export const MyFriendList=param => fetch('u/myfriendlist', param) //我的好友


export const MyCouponStypeList=param => fetch('u/couponstypelist', param) //我的换购券类型


export const MyCouponStypeNum=param => fetch('u/couponstypenum', param) //我的换购券数量


export const MyCouponsList=param => fetch('u/couponslist', param) //我的换购券列表


export const MyCouponspList=param => fetch('u/couponsplist', param) //我的换购券列表分页



export const MyCouponsForuser=param => fetch('u/couponsforuser', param) //赠送


export const GetForGoodsList=param => fetch('u/cforgoodslist', param) //兑换商品


export const GetOrderSure=param => fetch('order/ordersure', param) //确认订单


export const GetWeiXinPay=param => fetch('xcxpay/weixinpay', param) //微信支付


export const GetOrderList=param => fetch('order/orderlist', param)
 
 
export const GetMyCode=param => fetch('u/mycode', param)


export const GetPointOrderSure=param => fetch('point/ordersure', param)


export const GetPointOrderPay=param => fetch('point/orderpay', param)


export const GetOrderById=param => fetch('order/getorderbyid', param)


export const GetShopManageInfo=param => fetch('shop/getinfo', param)


export const GetShopVipList=param => fetch('shop/viplist', param)



export const GetUserOrderList=param => fetch('u/orderlist', param)


export const GetFriendList=param => fetch('u/friendlist', param)


export const GetShopUpInfo=param => fetch('shop/upinfo', param)



export const GetOrderIssure=param => fetch('shop/issure', param)


export const GetOrderPay=param => fetch('order/orderpay', param)


export const GetZhuanFaWx=param => fetch('fp/getwx', param)


export const GetShopOrderList=param => fetch('shop/orderlist', param)


export const GetPointList=param => fetch('u/pointlist', param)


export const GetShopStock=param => fetch('shop/stock', param)


export const GetPointNum=param => fetch('u/pointnum', param)


export const GetNewOrderList=param => fetch('vip/neworderlist', param)


export const DrawGoodsList=param => fetch('draw/goodslist', param)


export const DrawNum=param => fetch('draw/drawnum', param)


export const GetDrawApi=param => fetch('draw/draw', param)


export const GetDrawOrderList=param => fetch('draw/orderlist', param)


export const GetShopDraw=param => fetch('draw/getshopdraw', param)

































